package com.lianbang.pharmacy

import cn.ubest.mvvmcore.BaseApplication
import cn.ubest.mvvmcore.http.RetrofitFactory
import com.lianbang.pharmacy.http.UrlConfig
import com.lianbang.pharmacy.http.intercept.HeaderIntercept
import com.lianbang.pharmacy.http.intercept.ParamIntercept

/**
 * Created by maoqi on 2021/1/12.
 */
class AndroidApplication : BaseApplication() {

    override fun onCreate() {
        super.onCreate()
        RetrofitFactory.interceptList.add(HeaderIntercept())
        RetrofitFactory.baseUrl = UrlConfig.BASE_URL
//        RetrofitFactory.interceptList.add(ParamIntercept())
    }
}